package com.dcits.electronic_account.service;

import com.dcits.electronic_account.bean.BankAccount;
import com.dcits.electronic_account.bean.VirtualAccount;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author: YHC
 * @Date: 2022/6/25
 */
public interface RechargeService {

    VirtualAccount searchVirByUserId(Integer userId);

    BankAccount searchBankByNumber(String cardNumber);

    void rechargeDo(VirtualAccount user,BankAccount card,BigDecimal amount);

}
